package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.vo.user.UserInfoVo;
import com.atguigu.tingshu.vo.user.UserPaidRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {


    String wxLogin(String code);

    UserInfoVo getUserInfo();


    Map<Long, Integer> userIsPaidTrack(Long albumId, List<Long> trackIds);

    UserInfoVo findUserInfoVoByUserId(Long userId);

    List<Long> findUserPaidTrackList(Long albumId);

    void updateUserPaidRecord(UserPaidRecordVo userPaidRecordVo);

    void updateVipExpireStatus();
}
